import TableArea from "@/components/data-manage/list/tableArea";
import ToolBar from "@/components/data-manage/list/toolBar";
import { useState } from "react";

const DataManage = () => {
  const [type, setType] = useState("all");
  const [key, setKey] = useState(1);
  return (
    <>
      <ToolBar change={setType} setKey={setKey}></ToolBar>
      <TableArea type={type} key={key}></TableArea>
    </>
  );
};

export default DataManage;
